﻿@*@model IEnumerable<Company>
@{
    ViewBag.Title = "Company List";
}

<h2>Company List</h2>

@Html.Partial("_ListPart", Model)

<p />

<div id="actions">
    @Html.ActionLink("Add company", "Create", "Company", null, new { @class="btn" })
    
</div>*@
<h3 class="title">Portfolios</h3>

<table class="table table-striped table-bordered">
    <caption>Portfolio summary</caption>
    <thead>
        @*<tr>
            <th colspan="3">&nbsp;</th>
            <th colspan="2" class="text-center">Portfolio correction dates</th>
        </tr>*@
        <tr>
            <th>Code</th>
            <th>Name</th>
            <th>Description</th>
            <th>Last correction</th>
            <th>Next correction</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>RANDONE</td>
            <td>Random fund one</td>
            <td>Sample random fund one</td>
            <td>2013-04-01</td>
            <td>2013-04-31</td>
        </tr>
        <tr>
            <td>RANDTWO</td>
            <td>Random fund two</td>
            <td>Sample random fund two</td>
            <td>2013-04-01</td>
            <td>2013-04-31</td>
        </tr>
        <tr>
            <td>RANDTHREE</td>
            <td>Random fund three</td>
            <td>Sample random fund three</td>
            <td>2013-04-01</td>
            <td>2013-04-31</td>
        </tr>
        <tr>
            <td>JAPAUTO</td>
            <td>Japan automobile</td>
            <td>Japan automobile industry</td>
            <td>2013-04-01</td>
            <td>2013-04-31</td>
        </tr>
        <tr>
            <td>IT</td>
            <td>Info Tech</td>
            <td>Information technology industry</td>
            <td>2013-04-01</td>
            <td>2013-04-31</td>
        </tr>
    </tbody>
</table>


<div class="alert alert-info">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <strong>Features missing from this screen</strong> 
    <ol>
        <li>Display a list of portfolios belonging/assigned to user.</li>
        <li>Allow user to create new portfolios.</li>
        <li>Allow user to edit existing portfolios.</li>
        <li>Allow user to edit close/remove portfolios.</li>
    </ol>
</div>